package cn.sc.summer.token.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 类名：token信息参数配置
 *
 * @author a-xin
 * @date 2023/12/7 16:22
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "token")
public class TokenMaxProperties {

    /**
     * 登录参数信息
     */
    private Map<String, Map<String, Integer>> config;

}

